#ifndef COMMON_GRAPHICS_SHADER_H
#define COMMON_GRAPHICS_SHADER_H


#include "GraphicsResource.h"


class Shader : public GraphicsResource
{
public:
    static Shader* Compile(const char* path);

                ~Shader();
    bool        IsValid() const;
    const char* GetError() const;

private:
    Shader();

    char* error;
};


void BindShader(const Shader* shader);


#endif
